package com.camel.base.config;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.camel.core.entity.BasePaginationEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 86183
 */
public interface MyBaseMapper<T> extends BaseMapper<T> {

    /**
     * 查询自定义SQL模板
     * @param queryWrapper
     * @return
     */
    List<T> selectIndex(@Param("ew") Wrapper<T> queryWrapper);
}
